<?php
// inclusion de la classe magpierss
require_once("magpierss/rss_fetch.inc");

$url = "http://www.lequipe.fr/Xml/Rugby/Titres/actu_rss.xml";
$rss = fetch_rss($url);
$items = array_slice($rss->items, 0, 5);
#print_r($rss->channel);

echo "<a href=\"".$rss->channel['link']."\" target=\"speed\"><font class=\"btitle\">L'equipe.fr:</font></a><br>";
foreach ($items as $item ) {
        $title = $item[title];
        $url   = $item[link];
        echo "<li><a href=\"$url\" target=\"speed\">$title</a></li>";
}
?>